package com.itbaizhan.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 
 * @TableName product
 */
@TableName(value ="product")
public class Product implements Serializable {
    /**
     * 
     */
    @TableId
    private Integer id;

    /**
     * 商品名字
     */
    private String productName;

    /**
     * 商品价格
     */
    private BigDecimal price;

    /**
     * 库存
     */
    private Long count;

    /**
     * 商品描述
     */
    private String productDesc;
    private Integer version;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getId() {
        return id;
    }
    public Integer getVersion() {
        return version;
    }

    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }
    public void setVersion(Integer version) {
        this.version = version;
    }

    /**
     * 商品名字
     */
    public String getProductName() {
        return productName;
    }

    /**
     * 商品名字
     */
    public void setProductName(String productName) {
        this.productName = productName;
    }

    /**
     * 商品价格
     */
    public BigDecimal getPrice() {
        return price;
    }

    /**
     * 商品价格
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 库存
     */
    public Long getCount() {
        return count;
    }

    /**
     * 库存
     */
    public void setCount(Long count) {
        this.count = count;
    }

    /**
     * 商品描述
     */
    public String getProductDesc() {
        return productDesc;
    }

    /**
     * 商品描述
     */
    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }
}